package com.ling.pl.autoproject.base;

import com.ling.pl.core.commons.annotation.ModelProperty;
import com.ling.pl.core.model.impl.BaseEntity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Created by bo.wang on 2017/5/13.
 */
@MappedSuperclass
public abstract class BuilderBaseEntity extends BaseEntity {

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "名称")
    protected String name;

    @Column(name = "DES", length = 250)
    @ModelProperty(comment = "描述")
    protected String des;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}
